<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1" />
<title>农集社</title>
<link rel="stylesheet" type="text/css" href="css/base.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="apple-touch-icon" href="images/touch-icon-iphone.png"/>
</head>
<style>
	.footnav {
		min-width: 320px;
		background: #ffffff;
		border-top: 1px solid #d5d5d5;
		bottom: 0;
		font-size: 0.28rem;
		height: 2.2rem;
		position: fixed;
		width: 100%;
		z-index: 6;
	}
	/*#footnav li{*/
		/*width:20%;*/
	/*}*/
	#page li{
		width:20%;
	}
</style>
<body>
<div class="nctouch-home-top fixed-Width">
  <header id="header" class="transparent" style="background:#ffffff">
    <div class="logo"></div>
    <div class="header-wrap"> <a href="tmpl/search.html" class="header-inp"> <i class="icon"></i> <span class="search-input" id="keyword">请输入关键词</span> </a> </div>
    <div class="header-r"><a id="header-nav" href="tmpl/member/chat_list.html"><i class="message"></i>
      <p style="color: #ccc">消息</p>
      <sup></sup></a></div>

  </header>

  <div class="adv_list" id="main-container1" style="margin-top: 40px;"></div>
</div>
<div class="nctouch-home-nav fixed-Width">
  <ul id="page">
    <li><a href="./tmpl/pointshop.html"><span><i></i></span>
      <p>积分专区</p>
      </a></li>
	  <li><a href="./tmpl/yb_shop.html"><span><i></i></span>
		  <p>批发专区</p>
	  </a></li>
<!-- 	  <li><a href="./tmpl/brand_category.html"><span><i></i></span>
		  <p>品牌专区</p>
	  </a></li> -->
	  <li><a href="./tmpl/spshop.html"><span><i></i></span>
		  <p>特产专区</p>
	  </a></li>
    <li><a href="./tmpl/business_store.html"><span><i></i></span>
      <p>商圈</p>
      </a></li>
	  <li><a href="./tmpl/article.html"><span><i></i></span>
		  <p>地域特色</p>
	  </a></li>
	  
     <!--<li><a href="tmpl/member/member2.html"><span><i></i></span>-->
      <!--<p>我的商城</p>-->
      <!--</a></li>-->
    <!--<li><a href="tmpl/member/order_list.html"><span><i></i></span>-->
      <!--<p>我的订单</p>-->
      <!--</a></li>-->
    <!--<li><a href="tmpl/member/member_asset.html"><span><i></i></span>-->
      <!--<p>我的财产</p>-->
      <!--</a></li>-->
    <!--<li><a href="tmpl/member/views_list.html"><span><i></i></span>-->
      <!--<p>我的足迹</p>-->
      <!--</a></li>-->
  </ul>
</div>
<div class="nctouch-home-layout" id="main-container2"></div>
<div class="fix-block-r"> <a href="javascript:void(0);" class="gotop-btn gotop hide" id="goTopBtn"><i></i></a> </div>
<footer id="footer" ></footer>
<script type="text/html" id="adv_list">
		<div class="swipe-wrap">
		<% for (var i in item) { %>
			<div class="item">
				<a href="<%= item[i].url %>">
					<img src="<%= item[i].image %>" alt="">
				</a>
			</div>
		<% } %>
		</div>
</script>
<script type="text/html" id="home1">
	<div class="nctouch-home-block">
	<% if (title) { %>
		<div class="tit-bar"><%= title %></div>
	<% } %>
		<div class="item-pic">
			<a href="<%= url %>">
				<img src="<%= image %>" alt="">
			</a>
		</div>
	</div>
</script>
<script type="text/html" id="home2">
	<div class="nctouch-home-block2">
		<% if (title) { %>
		<div class="tit-bar"><%= title %></div>
		<% } %>
		<div class="item-pic">
			<a href="<%= url %>">
				<img src="<%= image %>" alt="">
			</a>
		</div>
	</div>
</script>
<script type="text/html" id="home3">
	<div class="nctouch-home-block">
	<% if (title) { %>
		<div class="tit-bar"><%= title %></div>
	<% } %>
		<ul class="item-pic-list">
		<% for (var i in item) { %>
			<li>
				<a href="<%= item[i].url %>"><img src="<%= item[i].image %>" alt=""></a>
			</li>
		<% } %>
		</ul>
	</div>
</script>
<script type="text/html" id="home4">
	<div class="nctouch-home-block">
	<% if (title) { %>
		<div class="tit-bar"><%= title %></div>
	<% } %>
		<ul class="item-pic-l2-r1">
			<li>
				<a href="<%= rectangle1_url %>"><img src="<%= rectangle1_image %>" alt=""></a>
			</li>
			<li>
				<a href="<%= rectangle2_url %>"><img src="<%= rectangle2_image %>" alt=""></a>
			</li>
			<li>
				<a href="<%= square_url %>"><img src="<%= square_image %>" alt=""></a>
			</li>
		</ul>
	</div>
</script>
<script type="text/html" id="goods">
	<div class="nctouch-home-block item-goods" style="display: none" id="goodsdefalt1">
		<ul class="goods-list">
		<% for (var i in item) { %>
			<% if( i%2==0){%>
			<li style="margin:0;width: 50%;box-sizing: border-box; border-bottom: 1px solid #EEE;  border-radius:0px; ">
			<% }else{%>
			<li style="margin:0;width: 50%;box-sizing: border-box; border-left:1px solid #EEE;border-bottom: 1px solid #EEE;border-radius:0px">
			<%}%>
				<a href="tmpl/product_detail.html?goods_id=<%= item[i].goods_id %>">
					<div class="goods-pic"><img src="<%= item[i].goods_image %>" alt=""></div>
					<dl class="goods-info">
						<dt style="" class="goods-name"><%= item[i].goods_name %></dt>
						<dd class="goods-price">￥<em><%= item[i].goods_promotion_price %></em></dd>
					</dl>
				</a>
			</li>
		<% } %>
		</ul>
	</div>
	<div class="nctouch-home-block item-goods" style="display: block" id="goodsdefalt2">

		<ul class="goods-list">
			<% for (var i in item) { %>
			<% if( i%2==0){%>
			<li style="margin:0;width: 50%;box-sizing: border-box; border-bottom: 1px solid #EEE;  border-radius:0px; ">
				<% }else{%>
			<li style="margin:0;width: 50%;box-sizing: border-box; border-left:1px solid #EEE;border-bottom: 1px solid #EEE;border-radius:0px">
				<%}%>

				<a href="tmpl/product_detail.html?goods_id=<%= item[i].goods_id %>">
					<div class="goods-pic"><img src="<%= item[i].goods_image %>" alt=""></div>
					<dl class="goods-info">
						<dt style="" class="goods-name"><%= item[i].goods_name %></dt>
						<dd class="goods-price">￥<em><%= item[i].goods_promotion_price %></em></dd>
					</dl>
				</a>
			</li>
			<% } %>
		</ul>
	</div>
</script>
<script type="text/html" id="goods1">
	<div class="nctouch-home-block item-goods">
	<% if (title) { %>
		<div class="tit-bar"><%= title %></div>
	<% } %>
		<ul class="goods-list">
		<% for (var i in item) { %>
			<li>
			<i><div>打折</div></i>
			<a href="tmpl/product_detail.html?goods_id=<%= item[i].goods_id %>">
			<div class="goods-pic"><img src="<%= item[i].goods_image %>" alt=""></div>
					<dl class="goods-info">
						<dt class="goods-name"><%= item[i].goods_name %></dt>
						<dd class="goods-price">￥<em><%= item[i].goods_promotion_price %></em><i class="list-price">￥<%= item[i].goods_price %></i></dd>
					</dl>
			</a>
				</li>

		<% } %>
		</ul>
	</div>
</script>
<script type="text/html" id="goods2">
	<div class="nctouch-home-block item-goods">
	<% if (title) { %>
		<div class="tit-bar"><%= title %></div>
	<% } %>
		<ul class="goods-list">
		<% for (var i in item) { %>
			<li>
			<i><div>抢购</div></i>
			<a href="tmpl/product_detail.html?goods_id=<%= item[i].goods_id %>">
			<div class="goods-pic"><img src="<%= item[i].goods_image %>" alt=""></div>
					<dl class="goods-info">
						<dt class="goods-name"><%= item[i].goods_name %></dt>
						<dd class="goods-price">￥<em><%= item[i].goods_promotion_price %></em><i class="list-price">￥<%= item[i].goods_price %></i></dd>
					</dl>
			</a>
				</li>

		<% } %>
		</ul>
	</div>
</script>
<script type="text/javascript" src="js/config.js"></script> 
<script type="text/javascript" src="js/zepto.min.js"></script> 
<script type="text/javascript" src="js/template.js"></script> 
<script type="text/javascript" src="js/common.js"></script> 
<script type="text/javascript" src="js/swipe.js"></script> 
<script type="text/javascript" src="js/index.js"></script> 
<script type="text/javascript" src="js/tmpl/footer.js"></script>
<!--<script type="text/javascript" src="js/addtohomescreen.js"></script> -->
<!--<script>-->
	<!--addToHomescreen({-->
		<!--message:'如要把应用程式加至主屏幕,请点击%icon, 然后<strong>加至主屏幕</strong>'-->
	<!--});-->
	<!--setTimeout(function(){-->
		<!--var box1 = document.getElementById('tabgoods1');-->
		<!--var box2 = document.getElementById('tabgoods2');-->
		<!--var goodsdefalt1  = document.getElementById('goodsdefalt1');-->
		<!--var goodsdefalt2  = document.getElementById('goodsdefalt2');-->
		<!--var a1 = box1.getElementsByTagName('a')[0]-->
		<!--var a2 = box2.getElementsByTagName('a')[0]-->
		<!--box1.onclick = function(){-->
			<!--goodsdefalt1.style.display = 'block';-->
			<!--goodsdefalt2.style.display = 'none';-->
			<!--a1.style.color = '#000';-->
			<!--a2.style.color = '#ccc'-->
		<!--}-->
		<!--box2.onclick = function(){-->
			<!--goodsdefalt2.style.display = 'block';-->
			<!--goodsdefalt1.style.display = 'none';-->
			<!--a2.style.color = '#000';-->
			<!--a1.style.color = '#ccc'-->
		<!--}-->
	<!--},1000)-->

</script>
</body>
</html>
